<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>用户详情</title>
    <meta name="keywords">
    <meta name="description">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
    <link rel="shortcut icon" href="http://gaokao.nercel.com/favicon.ico" type="image/x-icon">
    <script type="text/javascript" src="/js/jquery.min.js"></script>
<!--    <link rel="stylesheet" href="../static/css/login/login1.css" data-th-href="@{/css/login/login1.css}">-->
<!--    <link rel="stylesheet" href="../static/css/login/login2.css" data-th-href="@{/css/login/login2.css}">-->
    <link rel="stylesheet" data-th-href="@{/css/common.1d49a769.css}" href="../static/css/common.1d49a769.css">
    <link rel="stylesheet" data-th-href="@{/css/index.3b214714.css}" href="../static/css/index.3b214714.css">
</head>


<body>
<div id="app">
    <div class="main">
        <div user-info="userInfo" class="top-header">
            <div class="top">
                <div class="container">
                    <div class="left">
                        欢迎访问考必胜，填出美好未来！
                    </div>
                    <ul class="right">
                        <li class="program0">
                            <p>
                                <a th:text="${session.name}" href="/user/userinfo"></a>
                            <div id="zero2" th:if="${session.LOGIN_STATUS} != null"><span class="userInfospan">
                                <a href="/user/userinfo">基本信息</a>
                                <a href="/vip/OpenVip">激活VIP</a>
                                <a href="/user/loginout">立即退出</a>
                                <a th:if="${session.LOGIN_STATUS} =='17873676358'" data-th-href="@{/account/index}">权限管理</a>                            </span>
                            </div>
                            </p>
                            <p>
                            <div id="zero1" th:if="${session.LOGIN_STATUS} == null">
                                <a href="/account/login">[登录]</a>
                                <a href="/user/register">[注册]</a>
                            </div>
                            </p> <!---->
                        </li>

                    </ul>
                </div>
            </div>
            <div class="nav">
                <div class="container">
                    <div class="logo"><a href="/"><img title="考必胜" data-th-src="@{/images/logo.jpg}" src="../../static/images/logo.jpg"></a>
                    </div>
                    <ul class="navbar">
                        <li><a  data-th-href="@{/user/first}" class="mian-a"><em>首页</em></a></li>
                        <li><a data-th-href="@{/user/occupation}" class="mian-a"><em>生涯规划</em></a>
                            <div><a data-th-href="@{/user/occupation}">职业性格测试</a></div>
                        </li>
                        <li><a data-th-href="@{/recommend}" class="mian-a"><em>志愿填报</em></a>
                            <div><a data-th-href="@{/recommend}">可上大学
                                <i class="hot"></i></a> <!----> </div>
                        </li>
                        <li><a data-th-href="@{/prediction}" class="mian-a"><em>测试评估</em></a>
                            <div><a data-th-href="@{/prediction}">录取概率测试
                                <i class="hot"></i></a> <a href="/compare/college">院校对比
                                <i class="hot"></i></a> </div>
                        </li>
                        <li><a data-th-href="@{/college/collegelist}" class="mian-a"><em>数据查询</em></a>
                            <div><a data-th-href="@{/college/collegelist}">学校大全</a> <a data-th-href="@{/major}">专业大全</a>
                                <a data-th-href="@{/profession}">职业大全</a>
                                <a data-th-href="@{/rank}">大学排名</a>
                                <a data-th-href="@{/batch}">查批次线</a>  </div>
                        </li>
                        <li><a data-th-href="@{/news(type=1,cpage=1)}" class="mian-a"><em>高考资讯</em></a>
                            <div><a data-th-href="@{/news(type=1,cpage=1)}">热门资讯</a> <a
                                    data-th-href="@{/news(type=2,cpage=1)}">高考资讯</a> <a
                                    data-th-href="@{/news(type=3,cpage=1)}">院校动态</a> <a
                                    data-th-href="@{/news(type=4,cpage=1)}">招生政策</a></div>
                        </li>
                    </ul>
                    <div  class="vip">
                        <a href="/vip/OpenVip">
                            开通VIP
                        </a>
                    </div>
                    <div class="secher">
                        <form data-th-action="@{/search}" method="get" data-v-b8c29c26>
                            <input type="string" name="keyword"
                                   placeholder="/ 找大学 / 找专业 / 搜职业"
                                   class="f14" data-v-b8c29c26>
                            <input type="hidden" name="type" value="1">
                            <button type="submit" data-v-b8c29c26></button>
                        </form>
                    </div>
                </div>
            </div>
        </div> <!---->



            <div>
                <div data-v-1b705696="" class="pageBanner page6"></div>
                <div  class="path container">
                    <ul>
                        <li data-v-b62a9f34=""><a  href="/user/first">首页</a> <span
                                data-v-b62a9f34="">&nbsp;&gt;&nbsp;&nbsp;</span></li>
                        <li data-v-b62a9f34=""><a data-v-b62a9f34="">基本信息</a> <!----></li>
                    </ul>
                </div>



                    <div data-v-6ffa69e0="" class="add-intention container">
                        <div data-v-6ffa69e0="" class="userInfo_p userInfo_ps">
                            <div data-v-6ffa69e0="">
                                <ul class="leftist2020">
                                    <li class="li1" id="li1"><span >
                    志愿填报</span>
                                        <div id="li11"><a href="/recommend" class="">可上大学</a></div>
                                        <!---->
                                    </li>
                                    <li class="li2" id="li2"><span >
                    测试对比</span>
                                        <div id="li21"><a href="/user/character" class="">职业性格测试</a></div>
                                        <div id="li22"><a href="/prediction" class="">录取概率测试</a></div>
                                        <div id="li23"><a href="/compare/college" class="">院校对比</a></div>
                                    </li>
                                    <li class="li3" id="li3"><span>
                    数据查询</span>
                                        <div id="li32"><a data-th-href="@{/news(type=4,cpage=1)}"
                                                          class="">招生政策</a></div>
                                    </li>
                                    <li class="li4 actives" id="li4">
                                        <span>
                    个人中心</span>
                                        <div id="li41"><a href="/user/userinfo" class="">个人资料</a></div>
                                        <div id="li42"><a href="/vip/VipActivate" class="">激活VIP</a></div>
                                    </li>
                                </ul>
                            </div>
                        </div>

                        <div data-v-6ffa69e0="" class="rightTab">
                            <div data-v-8a715f62="" class="testEvaluation myTab top10" style="min-height: 613px;">
                                <h3 data-v-8a715f62="" class="userInfoTitle"><p data-v-8a715f62=""><span
                                        data-v-8a715f62=""></span></p>
                                    个人资料
                                    <!----> <!----></h3>
                                <form name="userinfo" method="post">
                                    <span data-v-8a715f62=""><p >高考省份：</p>
                                        <div th:if="${session.province} == null" style="display: inline">
                                        <select placeholder="请选择省份"name="province" id="province">
                                            <option value="安徽">
                                                A  安徽
                                            </option><option  value="北京">
                                                B  北京
                                            </option><option  value="重庆">
                                                C  重庆
                                            </option><option  value="福建">
                                                F  福建
                                            </option><option  value="广东">
                                                G  广东
                                            </option><option  value="广西">
                                                G  广西
                                            </option><option  value="贵州">
                                                G  贵州
                                            </option><option  value="甘肃">
                                                G  甘肃
                                            </option><option  value="黑龙江">
                                                H  黑龙江
                                            </option><option  value="河南">
                                                H  河南
                                            </option><option  value="湖北">
                                                H  湖北
                                            </option><option  value="湖南">
                                                H  湖南
                                            </option><option  value="海南">
                                                H  海南
                                            </option><option  value="河北">
                                                H  河北
                                            </option><option  value="吉林">
                                                J  吉林
                                            </option><option  value="江苏">
                                                J  江苏
                                            </option><option  value="江西">
                                                J  江西
                                            </option><option  value="辽宁">
                                                L  辽宁
                                            </option><option  value="天津">
                                                T  天津
                                            </option><option  value="内蒙">
                                                N  内蒙
                                            </option><option  value="宁夏">
                                                N  宁夏
                                            </option><option  value="青海">
                                                Q  青海
                                            </option><option  value="山西">
                                                S  山西
                                            </option><option  value="上海">
                                                S  上海
                                            </option><option  value="山东">
                                                S  山东
                                            </option><option  value="四川">
                                                S  四川
                                            </option><option  value="陕西">
                                                S  陕西
                                            </option><option  value="西藏">
                                                X  西藏
                                            </option><option  value="新疆">
                                                X  新疆
                                            </option><option  value="云南">
                                                Y  云南
                                            </option><option  value="浙江">
                                                Z  浙江
                                            </option>
                                        </select>
                                            </div>
                                        <div th:if="${session.province} != null" style="display: inline">
                                            <input th:value="${session.province}" disabled="disabled"></div>
                                    </span>

                                    <span>
         <p >高考文理科：</p>
             <div th:if="${session.level} == null" style="display: inline">
                <select name="level" id="level" placeholder="请选择文理科" >
                <option value="理科" selected>理科</option>
                <option value="文科">文科</option>
                 </select>
             </div>
             <div id="zero22" th:if="${session.level} != null" style="display: inline">
                 <input th:value="${session.level}" disabled="disabled"><br>
             </div>
         </span>
                                    <span><p>高考总分：</p>
             <div th:if="${session.grade} == null" style="display: inline">
                 <input placeholder="请输入分数" name="grade"id="grade" type="number" min="0" max="1000" >
                 <div id="u1" style="display: inline"></div>
             </div>
             <div th:if="${session.grade} != null" style="display: inline">
                 <input th:value="${session.grade}" disabled="disabled">
             </div>
         </span>
                                    <span ><p >排名：</p>
             <div th:if="${session.ranking} == null" style="display: inline">
             <input placeholder="请输入排名"name="ranking" id="ranking" type="number"
                    min="0" max="1000000">
             <div id="u2" style="display: inline"></div>
             </div>
             <div th:if="${session.ranking} != null" style="display: inline">
                 <input th:value="${session.ranking}" disabled="disabled">
             </div>
         </span>

                                    <input type="button" class="reg-btn" onclick="check()" value="保存"></input>

                                </form>
                            </div>
                        </div>
                    </div>
            </div>
            <div data-v-1ea00789="" class="school-contrast">
                <div data-v-1ea00789="" class="switch"><!----> <!----> <i data-v-1ea00789="">《</i></div>
                <div data-v-1ea00789="" class="contrast" style="display: none;"><span data-v-1ea00789=""><a
                        data-v-1ea00789="">院校对比</a></span>
                    <ul data-v-1ea00789="">
                        <li data-v-1ea00789=""><p data-v-1ea00789=""><a data-v-1ea00789=""
                                                                        href="http://gaokao.nercel.com/college/2">北京大学</a>
                        </p> <i data-v-1ea00789=""></i></li>
                        <li data-v-1ea00789=""><p data-v-1ea00789=""><a data-v-1ea00789=""
                                                                        href="http://gaokao.nercel.com/college/1">清华大学</a>
                        </p> <i data-v-1ea00789=""></i></li>
                    </ul>
                    <div data-v-1ea00789="" class="clear"><p data-v-1ea00789="" class="p1">开始对比2/<i
                            data-v-1ea00789="">4</i></p>
                        <p data-v-1ea00789="" class="p2">清空</p></div>
                </div>
            </div> <!---->



    </div>
</div>

<script th:inline="javascript">
    var msg = [[${msg}]];
    if(msg != null){
        alert(msg);
        msg="";
    }
</script>

<!--左侧下拉框的-->
<script>
    var lii = document.getElementById("li1");
    var li11 = document.getElementById("li11");
    lii.onclick = function () {
        if (li11.style.display == "block") {
            li11.style.display = "none";
        }
        else {
            li11.style.display = "block";
        }
    }

    var li2 = document.getElementById("li2");
    var li21 = document.getElementById("li21");
    var li22 = document.getElementById("li22");
    var li23 = document.getElementById("li23");
    li2.onclick = function () {
        if (li22.style.display == "block") {
            li21.style.display = "none";
            li22.style.display = "none";
            li23.style.display = "none";
        }
        else {
            li21.style.display = "block";
            li22.style.display = "block";
            li23.style.display = "block";

        }
    }
    var li3 = document.getElementById("li3");
    var li32 = document.getElementById("li32");
    li3.onclick = function () {
        if (li32.style.display == "block") {
            li32.style.display = "none";
        }
        else {
            li32.style.display = "block";

        }
    }
    var li4 = document.getElementById("li4");
    var li41 = document.getElementById("li41");
    var li42 = document.getElementById("li42");
    var li43 = document.getElementById("li43");
    li4.onclick = function () {
        if (li42.style.display == "block") {
            li41.style.display = "none";
            li42.style.display = "none";
            li43.style.display = "none";
        }
        else {
            li41.style.display = "block";
            li42.style.display = "block";
            li43.style.display = "block";
        }
    }
</script>
<!--左侧下拉框的-->

<script type="text/javascript">
    function check() {
        var grade = document.getElementById("grade").value;
        var ranking = document.getElementById("ranking").value;
        if(grade == ""){
            alert("请输入分数");
            return;
        }else if(grade > 750 || grade < 1) {
            alert("分数输入有误");
           return;
        }else {
            document.getElementById("u1").innerHTML = "";
        }
        if(ranking == ""){
            alert("请输入排名");
            return;
        }else if(ranking > 1000000 || ranking < 1) {
            alert("排名输入有误");
            return;
        }else {
            document.getElementById("u2").innerHTML = "";
        }
        document.userinfo.submit();
    }
</script>
</body>
</html>